import Layout from '@/layout'

const systemRouter = {
  path: '/platform',
  component: Layout,
  redirect: '/platform/user',
  name: 'platform',
  meta: { title: '系统管理', icon: 'platform' },
  children: [{
    path: 'user',
    name: 'platformUser',
    component: () => import('@/views/upms/user'),
    meta: { title: '用户管理', icon: 'userManager' }
  }, {
    path: 'role',
    name: 'platformRole',
    component: () => import('@/views/upms/role'),
    meta: { title: '角色管理', icon: 'roleManager' }
  }]
}
export default systemRouter
